package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.CwAdvertising;

/**
 * 广告费Mapper接口
 * 
 * @author ruoyi
 * @date 2022-11-29
 */
public interface CwAdvertisingMapper 
{
    /**
     * 查询广告费
     * 
     * @param aid 广告费主键
     * @return 广告费
     */
    public CwAdvertising selectCwAdvertisingByAid(Long aid);

    /**
     * 查询广告费列表
     * 
     * @param cwAdvertising 广告费
     * @return 广告费集合
     */
    public List<CwAdvertising> selectCwAdvertisingList(CwAdvertising cwAdvertising);

    /**
     * 新增广告费
     * 
     * @param cwAdvertising 广告费
     * @return 结果
     */
    public int insertCwAdvertising(CwAdvertising cwAdvertising);

    /**
     * 修改广告费
     * 
     * @param cwAdvertising 广告费
     * @return 结果
     */
    public int updateCwAdvertising(CwAdvertising cwAdvertising);

    /**
     * 删除广告费
     * 
     * @param aid 广告费主键
     * @return 结果
     */
    public int deleteCwAdvertisingByAid(Long aid);

    /**
     * 批量删除广告费
     * 
     * @param aids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCwAdvertisingByAids(Long[] aids);
}
